package com.kingyun.gpsinspection.purificationservice.facade.service.som;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.SystemPlatform;

import java.util.List;

/**
 * 平台子系统查询
 * Created by yangcs on 2017/3/6.
 */
public interface SystemPlatformService {

    /**
     * 查询所有平台子系统，平台默认为五个子系统
     *
     * @return
     */
    List<SystemPlatform> selectSystemPlatform() throws Exception;

    SystemPlatform selectSystemPlatformBySubSystem(String systemCode) throws Exception;
    /**
     * @param list
     * @Author 卢曼成
     * @Description 批量添加
     * @Date 2017/2/8 17:17
     */
    int insertList(List<SystemPlatform> list);

    /**
     * @param list
     * @Author 卢曼成
     * @Description 批量逻辑删除
     * @Date 2017/2/8 17:17
     */
    int deleteList(List<SystemPlatform> list);
}
